package com.ruoyi.project.system.commodity.domain;

import java.util.List;

public class GoodsSku {
    private int skuId;
    private int goodsId;
    private double sellingPrice;
    private double underlinedPrice;
    private String skuCode;
    private boolean specsOpen;
    private List<GoodsSkuSpecs> specsList;

    public GoodsSku() {
    }

    public GoodsSku(int skuId, int goodsId, double sellingPrice, double underlinedPrice, String skuCode, boolean specsOpen, List<GoodsSkuSpecs> specsList) {
        this.skuId = skuId;
        this.goodsId = goodsId;
        this.sellingPrice = sellingPrice;
        this.underlinedPrice = underlinedPrice;
        this.skuCode = skuCode;
        this.specsOpen = specsOpen;
        this.specsList = specsList;
    }

    @Override
    public String toString() {
        return "GoodsSku{" +
                "skuId=" + skuId +
                ", goodsId=" + goodsId +
                ", sellingPrice=" + sellingPrice +
                ", underlinedPrice=" + underlinedPrice +
                ", skuCode='" + skuCode + '\'' +
                ", specsOpen=" + specsOpen +
                ", specsList=" + specsList +
                '}';
    }

    public int getSkuId() {
        return skuId;
    }

    public void setSkuId(int skuId) {
        this.skuId = skuId;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public double getSellingPrice() {
        return sellingPrice;
    }

    public void setSellingPrice(double sellingPrice) {
        this.sellingPrice = sellingPrice;
    }

    public double getUnderlinedPrice() {
        return underlinedPrice;
    }

    public void setUnderlinedPrice(double underlinedPrice) {
        this.underlinedPrice = underlinedPrice;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }


    public boolean isSpecsOpen() {
        return specsOpen;
    }

    public void setSpecsOpen(boolean specsOpen) {
        this.specsOpen = specsOpen;
    }

    public List<GoodsSkuSpecs> getSpecsList() {
        return specsList;
    }

    public void setSpecsList(List<GoodsSkuSpecs> specsList) {
        this.specsList = specsList;
    }
}
